package com.cn.distributor.mapper;


import com.cn.distributor.entity.Product;
import com.cn.distributor.vo.GoodsIdVo;
import com.cn.distributor.vo.ShopIdVo;
import com.cn.distributor.vo.ShopVo;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ShopMapper {

//    List<Product> findById(ShopIdVo shopIdVo);

    long modifyStore(ShopVo shop, ShopIdVo shopIdVo);

    long deleteGoods(GoodsIdVo goodsIdVo, ShopIdVo shopIdVo);

    long addGoods(GoodsIdVo goodsIdVo, ShopIdVo shopIdVo);

    long goods();

    List <Product> findById(ShopIdVo shopIdVo);
}
